from schemas import ma
from models.tags import Tag

class TagSchema(ma.SQLAlchemySchema):
    class Meta:
        model = Tag
    id = ma.auto_field()
    name = ma.auto_field()
    description = ma.auto_field()
